﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Microsoft.Cryptography.Samples.WCF
{
    public class SayHelloWorldService : ISayHelloWorldService
    {

        #region ISayHelloWorldService Members

        public string SayHelloWorld()
        {
            try
            {
                return "Hello World";
            }
            catch (Exception err)
            {
                Console.WriteLine(err);
                System.Diagnostics.Trace.WriteLine(err.ToString());
                System.Diagnostics.Debug.WriteLine(err.ToString());
                throw;
            }
        }

        #endregion
    }
}
